package com.ruoyi.club.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 社团活动对象 club_activity
 * 
 * @author ruoyi
 * @date 2023-04-11
 */
public class ClubActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动id */
    private Long id;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String name;

    /** 活动描述 */
    @Excel(name = "活动描述")
    private String describe;

    /** 活动时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 活动场地 */
    @Excel(name = "活动场地")
    private String area;

    /** 预参加人数 */
    @Excel(name = "预参加人数")
    private Long estimateNumber;

    /** 实际参加人数 */
    @Excel(name = "实际参加人数")
    private Long realityNumber;

    /** 经费 */
    @Excel(name = "经费")
    private String funds;

    /** 申请是否通过 */
    @Excel(name = "申请是否通过")
    private String photograph;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescribe(String describe) 
    {
        this.describe = describe;
    }

    public String getDescribe() 
    {
        return describe;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setEstimateNumber(Long estimateNumber) 
    {
        this.estimateNumber = estimateNumber;
    }

    public Long getEstimateNumber() 
    {
        return estimateNumber;
    }
    public void setRealityNumber(Long realityNumber) 
    {
        this.realityNumber = realityNumber;
    }

    public Long getRealityNumber() 
    {
        return realityNumber;
    }
    public void setFunds(String funds) 
    {
        this.funds = funds;
    }

    public String getFunds() 
    {
        return funds;
    }
    public void setPhotograph(String photograph) 
    {
        this.photograph = photograph;
    }

    public String getPhotograph() 
    {
        return photograph;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("describe", getDescribe())
            .append("time", getTime())
            .append("area", getArea())
            .append("estimateNumber", getEstimateNumber())
            .append("realityNumber", getRealityNumber())
            .append("funds", getFunds())
            .append("photograph", getPhotograph())
            .toString();
    }
}
